﻿#ifndef ORDERFORMCONTENT_H
#define ORDERFORMCONTENT_H

#include <QWidget>
#include "globalvars.h"

namespace Ui {
class OrderFormContent;
}

class OrderFormContent : public QWidget
{
    Q_OBJECT
signals:
    void signalCommentReserve(const QStringList&);
    void signalReserveDetails(const QString&);

public:
    explicit OrderFormContent(QWidget *parent = nullptr);
    ~OrderFormContent();

    void initWindowsUnits();
    void setHaveComented();
    void setImage(const QImage& image);
    QString getReserveId();
private slots:
    void on_pb_comment_clicked();
    void on_pb_hotelName_clicked();
    void on_pb_image_clicked();

private:
    Ui::OrderFormContent *ui;

    ReserveInfo m_reserveInfo;
};

#endif // ORDERFORMCONTENT_H
